package com.ljm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author song
 * @since 2021-05-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("piece_detail")
public class PieceDetailEntity implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "piece_detailid", type = IdType.AUTO)
    private Integer pieceDetailid;

    @TableField("pieceupid")
    private Integer pieceupid;

    @TableField("piecename")
    private String piecename;

    @TableField("url")
    private String url;

    /**
     * 类型  1== 模块    2   按钮
     */
    @TableField("type")
    private Integer type;


}
